﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListPhases.aspx.cs" Inherits="Web.admin.CompetitionManage.Phases.ListPhases" %>
<%@ Register Assembly="Ling.Pager" Namespace="Ling.Pager" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="head" runat="server">
    <title></title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../js/function.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="top_div">
        <div class="top_div_left">
            <table>
                <tr>
                    <td>
                        <img alt="" src="../../images/main_hl.gif" />
                    </td>
                    <td>
                        <img alt="" src="../../images/main_hl2.gif" />
                    </td>
                    <td class="topNav">
                        <span>竞赛阶段列表</span>
                    </td>
                    <td>
                        <img alt="" src="../../images/main_hr.gif" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="middle_div">
        <div class="middle_left">
        </div>
        <div class="middle_middle">
            <div class="navigation">
                <span>首页&gt;竞赛设置管理&gt;竞赛阶段列表</span></div>
            <div class="tools_box">
                <div class="tools_bar">
                    <a href="AddPhases.aspx" class="tools_btn"><span><b class="add">添加竞赛阶段</b></span></a>
                    <a href="#" class="tools_btn" onclick="checkAll(this);"><span><b class="checkAll">全选</b></span></a>
                    <asp:LinkButton runat="server" CssClass="tools_btn" ID="btn_Delete" OnClick="btnDelete_Click" OnClientClick="return confirm( '确定要删除这些记录吗？ ');"><span><b class="delete">批量删除</b></span></asp:LinkButton>
                </div>
            </div>
            <div class="content_table">
                <table class="msgtable">
                    <asp:Repeater ID="Repeater1" runat="server">
                        <HeaderTemplate>
                            <tr>
                                <th>
                                    选择
                                </th>
                                <th>
                                    序号
                                </th>
                                <th>
                                    阶段名称
                                </th>
                                <th>
                                    负责人称号
                                </th>
                                <th>
                                    组织方式
                                </th> 
                                <th>
                                    操作
                                </th>
                            </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chkbx" runat="server" />
                                    <asp:HiddenField ID="PhaseID" runat="server" Value='<%#Eval("PHA_ID")%>' />
                                </td>
                                <td>
                                    <%# Container.ItemIndex+1 %>
                                </td>
                                <td>
                                
                                    <%# DataBinder.Eval(Container.DataItem,"PHA_NAME") %>
                                </td>
                                <td>
                                    <%# DataBinder.Eval(Container.DataItem, "PHA_CNRTITLE")%>
                                </td>
                                <td>
                                    <%# DataBinder.Eval(Container.DataItem, "PHA_METHOD")%>
                                </td>
                                <td>
                                <a href='AddPhases.aspx?OPERATION=Modify&PHA_ID=<%# Eval("PHA_ID") %>'>修改</a>|
                                <a href='AddPhases.aspx?OPERATION=Delete&PHA_ID=<%# Eval("PHA_ID") %>'>删除</a>
                                </td>
                              
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
            <center>
                <div class="div_page">
                        <cc1:Pager ID="Pager1" runat="server"></cc1:Pager>
                </div>
            </center>
        </div>
        <div class="middle_right">
        </div>
    </div>
    </form>
</body>
</html>
